package it.infodea.tapestrydea;

import java.util.ArrayList;
import java.util.List;

import org.apache.tapestry5.beaneditor.ReorderProperties;

@ReorderProperties("sender,to,cc,ccn,subject,text")
public class MailObject{

	private String sender;

	private String to;

	private String cc;
	
	private String ccn;
	
	private String subject;

	private String text;

	private List<String> attachments;
	
	public MailObject() {
		super();
		attachments = new ArrayList<String>();
	}

	public String getTo() {
		return to;
	}

	public void setTo(String to) {
		this.to = to;
	}

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getCc() {
		return cc;
	}

	public void setCc(String cc) {
		this.cc = cc;
	}

	public String getCcn() {
		return ccn;
	}

	public void setCcn(String ccn) {
		this.ccn = ccn;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public List<String> getAttachments() {
		return attachments;
	}

	public void setAttachments(List<String> attachments) {
		this.attachments = attachments;
	}

}
